﻿<!DOCTYPE html>

<html>
<head>
    
    <title>@ViewBag.Title</title>
    <link href="~/Content/CSS/admin/css/bootstrap-classic.css?version=1" rel="stylesheet" />
    <link href="~/Content/CSS/admin/css/bootstrap-classic.min.css?version=1" rel="stylesheet" />
    <link href="~/Content/CSS/admin/css/charisma-app.css" rel="stylesheet" />
    
    <script src="~/Scripts/jquery-2.0.3.min.js"></script>
    <script src="~/Content/CSS/admin/js/bootstrap-dropdown.js"></script>
    
    <script src="~/Scripts/jquery.view.1.8.2.js"></script>
    <script src="~/Scripts/jquery.view.1.8.0.js"></script>
    <script src="~/Scripts/tabControl.js"></script>
    <link href="~/Content/CSS/tabControl.css" rel="stylesheet" />
    @RenderSection("scripts", false)
   
</head>
<body>
   <div class="navbar">
		<div class="navbar-inner">
			<div class="container-fluid">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href="~/Admin"><span>AdminPanel</span></a>
				<!-- user dropdown starts -->
                @{BabyToys.Models.User u = Session["admin"] as BabyToys.Models.User;}
				@if(Session["admin"]!=null)
                {
                <div style="font-size: 14px; float: right; position: relative; top: 5px;">
                    <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="icon-user"></i>
                        @u.TenDangNhap
                    </a>
                    <ul class="dropdown-menu">
						<li><a href="#">Profile</a></li>
						<li class="divider"></li>
						<li><a href="login.html">Logout</a></li>
					</ul>
                    <a href="~/AdminLogin/Logout" class="btn"><i class="icon-off"></i>Thoát</a>

                </div>
                }
				<!-- user dropdown ends -->
				
				<div class="top-nav nav-collapse">
					<ul class="nav">
						<li><a href="~/Home" target="_blank"><i class="icon-share icon-white"></i>Babytoys</a></li>
						<li>
							<form class="navbar-search pull-left">
								<input placeholder="Search" class="search-query span2" name="query" type="text">
							</form>
						</li>
					</ul>
				</div><!--/.nav-collapse -->
			</div>
		</div>
	</div>
    @*<div class="admin_head">
        <div class="head_item">
            <b> <a href="~/Home" style="font-size: 26px;color:white;">BABYTOYS</a></b>
            <br />
            <div style="font-size: 16px;margin-bottom:10px;color:white;float:left;">
                <a href="~/Admin" style="font-size: 16px;color:white;">Trang quản trị</a>
            </div>
            @{BabyToys.Models.User u = Session["admin"] as BabyToys.Models.User;}
            @if(Session["admin"]!=null)
            {
            <div style="font-size: 14px; float: right; position: relative; top: 5px;">Xin chào <a href="#" id="show-popup" style="color:#0ff;">@u.TenDangNhap</a>  
                <a href="~/AdminLogin/Logout">Thoát</a>
            </div>
            }
        </div>
    </div>*@
<div class="container-fluid">
		<div class="row-fluid">
            @RenderPage("~/Views/Shared/Admin/_AdminMenu.cshtml")
            @RenderBody()
        </div>
</div>
   @*<div class="admin_conten">
                <div class="admin_left">
                    @RenderPage("~/Views/Shared/Admin/_AdminMenu.cshtml")
                </div>
                <div class="admin_right"">
                    
                </div>
    </div>   *@   
    

</body>
</html>

